<%@page import="server.SeedHandler"%>
<%@page import="server.Seed"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="ISO-8859-1"%>
<%@include file="header.jsp" %>
<h3>Seed 
<% String seed = request.getParameter("id");
out.println(seed);
                       %></h3>
                       <%
                       SeedHandler sh = new SeedHandler();
                       Seed seedy = sh.getSeed(Integer.parseInt(seed.replaceAll("[^0-9]","")));
                       
                       %>
                       <p><b>Common name: </b><% out.println(seedy.getComName()); %></p>
                       <p><b>Scientific name: </b><% out.println(seedy.getSciName()); %></p>
                       <p><b>Hardiness Zone: </b><% out.println(seedy.getHardiness()); %></p>
                       <p><b>Growing Requirements: </b><% out.println(seedy.getReqs()); %></p>
                       <p><b>Tips: </b><% out.println(seedy.getTips()); %></p>
                       <p><b>Harvest Info: </b><% out.println(seedy.getHarvInfo()); %></p>
                       <p><b>Start Date: </b><% out.println(seedy.getHarvestStart()); %></p>
                       <p><b>End Date: </b><% out.println(seedy.getHarvestEnd()); %></p>
<%@include file="footer.html" %>